﻿using System;

namespace BEGDC.MIS.Resource
{
	/// <summary>
	/// Summary description for BaseResource.
	/// </summary>
	public class BaseResource
	{
		public BaseResource()
		{
		}

	//	private static System.Globalization.CultureInfo _culture = null;
		
		public static System.Globalization.CultureInfo Culture
		{
			get
			{ 
				if( System.Web.HttpContext.Current.Session["culture"] != null )
					return (System.Globalization.CultureInfo)System.Web.HttpContext.Current.Session["culture"];
				else
				{
					return null;
				}
				
			}
			set{ System.Web.HttpContext.Current.Session["culture"] = value; }		
		}
	}
}
